package com.lh.api.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lh.api.dao.BannerMapper;
import com.lh.api.service.BannerService;
import com.lh.api.vo.BannerVo;
import com.lh.common.entity.admin.Banner;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class BannerServiceImpl extends ServiceImpl<BannerMapper, Banner> implements BannerService {

    @Override
    public List<BannerVo> rotationBanner() {
        return baseMapper.rotationBanner();
    }

    @Override
    public BannerVo oneBanner() {
        return baseMapper.oneBanner();
    }
}
